<?php
require_once(getabspath("classes/cipherer.php"));
$tdataDB2ADMIN_Usuario = array();
	$tdataDB2ADMIN_Usuario[".NumberOfChars"] = 80; 
	$tdataDB2ADMIN_Usuario[".ShortName"] = "DB2ADMIN_Usuario";
	$tdataDB2ADMIN_Usuario[".OwnerID"] = "";
	$tdataDB2ADMIN_Usuario[".OriginalTable"] = "DB2ADMIN.Usuario";

//	field labels
$fieldLabelsDB2ADMIN_Usuario = array();
if(mlang_getcurrentlang()=="Spanish")
{
	$fieldLabelsDB2ADMIN_Usuario["Spanish"] = array();
	$fieldToolTipsDB2ADMIN_Usuario["Spanish"] = array();
	$fieldLabelsDB2ADMIN_Usuario["Spanish"]["usuario"] = "Usuario";
	$fieldToolTipsDB2ADMIN_Usuario["Spanish"]["usuario"] = "";
	$fieldLabelsDB2ADMIN_Usuario["Spanish"]["nombre"] = "Nombre";
	$fieldToolTipsDB2ADMIN_Usuario["Spanish"]["nombre"] = "";
	$fieldLabelsDB2ADMIN_Usuario["Spanish"]["apellido"] = "Apellido";
	$fieldToolTipsDB2ADMIN_Usuario["Spanish"]["apellido"] = "";
	$fieldLabelsDB2ADMIN_Usuario["Spanish"]["correo"] = "Correo";
	$fieldToolTipsDB2ADMIN_Usuario["Spanish"]["correo"] = "";
	$fieldLabelsDB2ADMIN_Usuario["Spanish"]["contrasenia"] = "Contrasenia";
	$fieldToolTipsDB2ADMIN_Usuario["Spanish"]["contrasenia"] = "";
	if (count($fieldToolTipsDB2ADMIN_Usuario["Spanish"]))
		$tdataDB2ADMIN_Usuario[".isUseToolTips"] = true;
}
	
	
	$tdataDB2ADMIN_Usuario[".NCSearch"] = true;



$tdataDB2ADMIN_Usuario[".shortTableName"] = "DB2ADMIN_Usuario";
$tdataDB2ADMIN_Usuario[".nSecOptions"] = 0;
$tdataDB2ADMIN_Usuario[".recsPerRowList"] = 1;
$tdataDB2ADMIN_Usuario[".mainTableOwnerID"] = "";
$tdataDB2ADMIN_Usuario[".moveNext"] = 1;
$tdataDB2ADMIN_Usuario[".nType"] = 0;

$tdataDB2ADMIN_Usuario[".strOriginalTableName"] = "DB2ADMIN.Usuario";




$tdataDB2ADMIN_Usuario[".showAddInPopup"] = false;

$tdataDB2ADMIN_Usuario[".showEditInPopup"] = false;

$tdataDB2ADMIN_Usuario[".showViewInPopup"] = false;

$tdataDB2ADMIN_Usuario[".fieldsForRegister"] = array();

$tdataDB2ADMIN_Usuario[".listAjax"] = false;

	$tdataDB2ADMIN_Usuario[".audit"] = false;

	$tdataDB2ADMIN_Usuario[".locking"] = false;

$tdataDB2ADMIN_Usuario[".listIcons"] = true;
$tdataDB2ADMIN_Usuario[".edit"] = true;
$tdataDB2ADMIN_Usuario[".inlineEdit"] = true;
$tdataDB2ADMIN_Usuario[".inlineAdd"] = true;
$tdataDB2ADMIN_Usuario[".view"] = true;

$tdataDB2ADMIN_Usuario[".exportTo"] = true;

$tdataDB2ADMIN_Usuario[".printFriendly"] = true;

$tdataDB2ADMIN_Usuario[".delete"] = true;

$tdataDB2ADMIN_Usuario[".showSimpleSearchOptions"] = false;

$tdataDB2ADMIN_Usuario[".showSearchPanel"] = true;

if (isMobile())
	$tdataDB2ADMIN_Usuario[".isUseAjaxSuggest"] = false;
else 
	$tdataDB2ADMIN_Usuario[".isUseAjaxSuggest"] = true;

$tdataDB2ADMIN_Usuario[".rowHighlite"] = true;

// button handlers file names

$tdataDB2ADMIN_Usuario[".addPageEvents"] = false;

// use timepicker for search panel
$tdataDB2ADMIN_Usuario[".isUseTimeForSearch"] = false;



$tdataDB2ADMIN_Usuario[".useDetailsPreview"] = true;

$tdataDB2ADMIN_Usuario[".allSearchFields"] = array();

$tdataDB2ADMIN_Usuario[".allSearchFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".allSearchFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".allSearchFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".allSearchFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".allSearchFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".googleLikeFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".googleLikeFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".googleLikeFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".googleLikeFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".googleLikeFields"][] = "contrasenia";


$tdataDB2ADMIN_Usuario[".advSearchFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".advSearchFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".advSearchFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".advSearchFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".advSearchFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".isTableType"] = "list";

	



// Access doesn't support subqueries from the same table as main
	


$tdataDB2ADMIN_Usuario[".pageSize"] = 20;

$tstrOrderBy = "";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdataDB2ADMIN_Usuario[".strOrderBy"] = $tstrOrderBy;

$tdataDB2ADMIN_Usuario[".orderindexes"] = array();

$tdataDB2ADMIN_Usuario[".sqlHead"] = "SELECT \"usuario\",   \"nombre\",   \"apellido\",   \"correo\",   \"contrasenia\"";
$tdataDB2ADMIN_Usuario[".sqlFrom"] = "FROM \"DB2ADMIN\".\"Usuario\"";
$tdataDB2ADMIN_Usuario[".sqlWhereExpr"] = "";
$tdataDB2ADMIN_Usuario[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataDB2ADMIN_Usuario[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataDB2ADMIN_Usuario[".arrGroupsPerPage"] = $arrGPP;

$tableKeysDB2ADMIN_Usuario = array();
$tableKeysDB2ADMIN_Usuario[] = "usuario";
$tdataDB2ADMIN_Usuario[".Keys"] = $tableKeysDB2ADMIN_Usuario;

$tdataDB2ADMIN_Usuario[".listFields"] = array();
$tdataDB2ADMIN_Usuario[".listFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".listFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".listFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".listFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".listFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".viewFields"] = array();
$tdataDB2ADMIN_Usuario[".viewFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".viewFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".viewFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".viewFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".viewFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".addFields"] = array();
$tdataDB2ADMIN_Usuario[".addFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".addFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".addFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".addFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".addFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".inlineAddFields"] = array();
$tdataDB2ADMIN_Usuario[".inlineAddFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".inlineAddFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".inlineAddFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".inlineAddFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".inlineAddFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".editFields"] = array();
$tdataDB2ADMIN_Usuario[".editFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".editFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".editFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".editFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".editFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".inlineEditFields"] = array();
$tdataDB2ADMIN_Usuario[".inlineEditFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".inlineEditFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".inlineEditFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".inlineEditFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".inlineEditFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".exportFields"] = array();
$tdataDB2ADMIN_Usuario[".exportFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".exportFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".exportFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".exportFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".exportFields"][] = "contrasenia";

$tdataDB2ADMIN_Usuario[".printFields"] = array();
$tdataDB2ADMIN_Usuario[".printFields"][] = "usuario";
$tdataDB2ADMIN_Usuario[".printFields"][] = "nombre";
$tdataDB2ADMIN_Usuario[".printFields"][] = "apellido";
$tdataDB2ADMIN_Usuario[".printFields"][] = "correo";
$tdataDB2ADMIN_Usuario[".printFields"][] = "contrasenia";

//	usuario
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "usuario";
	$fdata["GoodName"] = "usuario";
	$fdata["ownerTable"] = "DB2ADMIN.Usuario";
	$fdata["Label"] = "Usuario"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "usuario"; 
		$fdata["FullName"] = "\"usuario\"";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";
	
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataDB2ADMIN_Usuario["usuario"] = $fdata;
//	nombre
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "nombre";
	$fdata["GoodName"] = "nombre";
	$fdata["ownerTable"] = "DB2ADMIN.Usuario";
	$fdata["Label"] = "Nombre"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "nombre"; 
		$fdata["FullName"] = "\"nombre\"";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";
	
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataDB2ADMIN_Usuario["nombre"] = $fdata;
//	apellido
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "apellido";
	$fdata["GoodName"] = "apellido";
	$fdata["ownerTable"] = "DB2ADMIN.Usuario";
	$fdata["Label"] = "Apellido"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "apellido"; 
		$fdata["FullName"] = "\"apellido\"";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";
	
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataDB2ADMIN_Usuario["apellido"] = $fdata;
//	correo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "correo";
	$fdata["GoodName"] = "correo";
	$fdata["ownerTable"] = "DB2ADMIN.Usuario";
	$fdata["Label"] = "Correo"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "correo"; 
		$fdata["FullName"] = "\"correo\"";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";
	
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataDB2ADMIN_Usuario["correo"] = $fdata;
//	contrasenia
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "contrasenia";
	$fdata["GoodName"] = "contrasenia";
	$fdata["ownerTable"] = "DB2ADMIN.Usuario";
	$fdata["Label"] = "Contrasenia"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "contrasenia"; 
		$fdata["FullName"] = "\"contrasenia\"";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";
	
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataDB2ADMIN_Usuario["contrasenia"] = $fdata;

	
$tables_data["DB2ADMIN.Usuario"]=&$tdataDB2ADMIN_Usuario;
$field_labels["DB2ADMIN_Usuario"] = &$fieldLabelsDB2ADMIN_Usuario;
$fieldToolTips["DB2ADMIN.Usuario"] = &$fieldToolTipsDB2ADMIN_Usuario;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["DB2ADMIN.Usuario"] = array();
$dIndex = 1-1;
			$strOriginalDetailsTable="DB2ADMIN.Convenio";
	$detailsParam["dDataSourceTable"]="DB2ADMIN.Convenio";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="DB2ADMIN_Convenio";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 0;
	$detailsParam["previewOnEdit"]= 0;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["DB2ADMIN.Usuario"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["DB2ADMIN.Usuario"][$dIndex]["masterKeys"][]="usuario";
		$detailsTablesData["DB2ADMIN.Usuario"][$dIndex]["detailKeys"][]="usuario";

	
// tables which are master tables for current table (detail)
$masterTablesData["DB2ADMIN.Usuario"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










function createSqlQuery_DB2ADMIN_Usuario()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "\"usuario\",   \"nombre\",   \"apellido\",   \"correo\",   \"contrasenia\"";
$proto0["m_strFrom"] = "FROM \"DB2ADMIN\".\"Usuario\"";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
$proto0["m_strTail"] = "";
$proto0["cipherer"] = null;
$proto1=array();
$proto1["m_sql"] = "";
$proto1["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto1["m_column"]=$obj;
$proto1["m_contained"] = array();
$proto1["m_strCase"] = "";
$proto1["m_havingmode"] = "0";
$proto1["m_inBrackets"] = "0";
$proto1["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto1);

$proto0["m_where"] = $obj;
$proto3=array();
$proto3["m_sql"] = "";
$proto3["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto3["m_column"]=$obj;
$proto3["m_contained"] = array();
$proto3["m_strCase"] = "";
$proto3["m_havingmode"] = "0";
$proto3["m_inBrackets"] = "0";
$proto3["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto3);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto5=array();
			$obj = new SQLField(array(
	"m_strName" => "usuario",
	"m_strTable" => "DB2ADMIN.Usuario"
));

$proto5["m_expr"]=$obj;
$proto5["m_alias"] = "";
$obj = new SQLFieldListItem($proto5);

$proto0["m_fieldlist"][]=$obj;
						$proto7=array();
			$obj = new SQLField(array(
	"m_strName" => "nombre",
	"m_strTable" => "DB2ADMIN.Usuario"
));

$proto7["m_expr"]=$obj;
$proto7["m_alias"] = "";
$obj = new SQLFieldListItem($proto7);

$proto0["m_fieldlist"][]=$obj;
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "apellido",
	"m_strTable" => "DB2ADMIN.Usuario"
));

$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto0["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "correo",
	"m_strTable" => "DB2ADMIN.Usuario"
));

$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto0["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "contrasenia",
	"m_strTable" => "DB2ADMIN.Usuario"
));

$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto15=array();
$proto15["m_link"] = "SQLL_MAIN";
			$proto16=array();
$proto16["m_strName"] = "DB2ADMIN.Usuario";
$proto16["m_columns"] = array();
$proto16["m_columns"][] = "usuario";
$proto16["m_columns"][] = "nombre";
$proto16["m_columns"][] = "apellido";
$proto16["m_columns"][] = "correo";
$proto16["m_columns"][] = "contrasenia";
$obj = new SQLTable($proto16);

$proto15["m_table"] = $obj;
$proto15["m_alias"] = "";
$proto17=array();
$proto17["m_sql"] = "";
$proto17["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto17["m_column"]=$obj;
$proto17["m_contained"] = array();
$proto17["m_strCase"] = "";
$proto17["m_havingmode"] = "0";
$proto17["m_inBrackets"] = "0";
$proto17["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto17);

$proto15["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto15);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_DB2ADMIN_Usuario = createSqlQuery_DB2ADMIN_Usuario();
					$tdataDB2ADMIN_Usuario[".sqlquery"] = $queryData_DB2ADMIN_Usuario;
	
if(isset($tdataDB2ADMIN_Usuario["field2"])){
	$tdataDB2ADMIN_Usuario["field2"]["LookupTable"] = "carscars_view";
	$tdataDB2ADMIN_Usuario["field2"]["LookupOrderBy"] = "name";
	$tdataDB2ADMIN_Usuario["field2"]["LookupType"] = 4;
	$tdataDB2ADMIN_Usuario["field2"]["LinkField"] = "email";
	$tdataDB2ADMIN_Usuario["field2"]["DisplayField"] = "name";
	$tdataDB2ADMIN_Usuario[".hasCustomViewField"] = true;
}

$tableEvents["DB2ADMIN.Usuario"] = new eventsBase;
$tdataDB2ADMIN_Usuario[".hasEvents"] = false;

$cipherer = new RunnerCipherer("DB2ADMIN.Usuario");

?>